﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;

namespace ShanghaiMetroAPP.Model.SMAPPControl
{
    public class DirectionInfoModel : BaseModel
    {
        private string _end_station;
        private string _start_time;
        private string _end_time;

        /// <summary>
        /// 终点站方向
        /// </summary>
        [JsonProperty("description")]
        public virtual string EndStation
        {
            get => _end_station;
            set
            {
                _end_station = value;
                this.notify(nameof(EndStation));
            }
        }
        [JsonProperty("first_time")]
        /// <summary>
        /// 首班车
        /// </summary>
        public virtual string StartTime
        {
            get => _start_time;
            set
            {
                _start_time = value;
                this.notify(nameof(StartTime));
            }
        }
        [JsonProperty("last_time")]
        /// <summary>
        /// 末班车
        /// </summary>
        public virtual string EndTime
        {
            get => _end_time;
            set
            {
                _end_time = value;
                this.notify(nameof(EndTime));
            }
        }
        public virtual string StationCode
        {
            get;
            set;
        }
    }
}
